package com.oa.bean.work;

import java.util.Date;
import java.util.Set;

//考勤表
public class Workcheck {
	private int wid;// 主键id
	/*private int eid;// 员工编号
*/	private Date wdate;// 时间
	private String w1;// 打卡时间一
	private String w2;// 打卡时间二
	private String w3;// 打卡时间三
	private String w4;// 打卡时间四

	private Set<Emp> emps;

	public Workcheck() {
	}

	public Workcheck(int wid, Date wdate, String w1, String w2, String w3, String w4) {
		super();
		this.wid = wid;
		this.wdate = wdate;
		this.w1 = w1;
		this.w2 = w2;
		this.w3 = w3;
		this.w4 = w4;
	}

	public int getWid() {
		return wid;
	}

	public void setWid(int wid) {
		this.wid = wid;
	}

	/*public int getEid() {
		return eid;
	}

	public void setEid(int eid) {
		this.eid = eid;
	}*/

	public Date getWdate() {
		return wdate;
	}

	public void setWdate(Date wdate) {
		this.wdate = wdate;
	}

	public String getW1() {
		return w1;
	}

	public void setW1(String w1) {
		this.w1 = w1;
	}

	public String getW2() {
		return w2;
	}

	public void setW2(String w2) {
		this.w2 = w2;
	}

	public String getW3() {
		return w3;
	}

	public void setW3(String w3) {
		this.w3 = w3;
	}

	public String getW4() {
		return w4;
	}

	public void setW4(String w4) {
		this.w4 = w4;
	}

	public Set<Emp> getEmps() {
		return emps;
	}

	public void setEmps(Set<Emp> emps) {
		this.emps = emps;
	}

	@Override
	public String toString() {
		return "Workcheck [wid=" + wid + ", wdate=" + wdate + ", w1=" + w1 + ", w2=" + w2 + ", w3="
				+ w3 + ", w4=" + w4 + "]";
	}
}
